package com.mkz.job.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class JobInfoVo extends Model<JobInfoVo> {
	private static final long serialVersionUID = 1L;

	public JobInfoVo() {}
	
	public JobInfoVo(String jobCron, String executorHandler, String jobDesc, String groupName) {
		this.jobCron = jobCron;
		this.executorHandler = executorHandler;
		this.jobDesc = jobDesc;
		this.groupName = groupName;
	}
	
	@ApiModelProperty(value="任务执行CRON")
	private String jobCron;

	@ApiModelProperty(value="执行器任务处理器")
    private String executorHandler;

	@ApiModelProperty(value="任务描述")
    private String jobDesc;
	
	@ApiModelProperty(value="执行器编号")
    private String groupName;
}
